import Vue from 'vue'
import App from './App'
import './uni.promisify.adaptor'
import uView from 'uview-ui'

import PitHeader from '@/components/pit-header.vue'
import PitSearch from '@/components/pit-search.vue'
import PitNews from '@/components/workbench/pit-news.vue'
import PitNotice from '@/components/workbench/pit-notice.vue'
import PitBuilder from '@/components/workbench/pit-builder.vue'
import PitMeeting from '@/components/workbench/pit-meeting.vue'
import PitQuality from '@/components/workbench/pit-quality.vue'
import PitSupervisiondiary from '@/components/workbench/pit-supervisiondiary.vue'
import PitSupervisionlog from '@/components/workbench/pit-supervisionlog.vue'
import PitSupervisionrecord from '@/components/workbench/pit-supervisionrecord.vue'
import PitSupervisorsite from '@/components/workbench/pit-supervisorsite.vue'
import PitProjectlog from '@/components/workbench/pit-projectlog.vue'
import PitDesign from '@/components/workbench/pit-design.vue'
import PitConstruct from '@/components/workbench/pit-construct.vue'
Vue.component('pit-header', PitHeader)
Vue.component('pit-search', PitSearch)
Vue.component('pit-news', PitNews)
Vue.component('pit-notice', PitNotice)
Vue.component('pit-builder', PitBuilder)
Vue.component('pit-meeting',PitMeeting)
Vue.component('pit-quality', PitQuality)
Vue.component('pit-supervisiondiary', PitSupervisiondiary)
Vue.component('pit-supervisionlog', PitSupervisionlog)
Vue.component('pit-supervisionrecord', PitSupervisionrecord)
Vue.component('pit-supervisorsite', PitSupervisorsite)
Vue.component('pit-projectlog', PitProjectlog)
Vue.component('pit-design', PitDesign)
Vue.component('pit-construct', PitConstruct)
Vue.use(uView)
Vue.config.productionTip = false
Vue.prototype.is_ok = "0000"

App.mpType = 'app'

const app = new Vue({
  ...App
})
app.$mount()
